package com.azh.server.datam.page;

/**
 * @author zhaozhenhang <zhaozhenhang@kuaishou.com>
 * Created on 2022-04-25
 * 模拟 mysql的实现，以page为单位，一个page是8kb
 */
public interface Page {

    public void lock();

    public void unlock();

    public void release();

    public void setDirty(boolean dirty);

    public boolean isDirty();

    public int getPageNumber();

    public byte[] getData();
}
